package com.comcast.core.eeg.types;

import java.util.Arrays;

public class BytesEventDetails implements EventDetails {

    private static final long serialVersionUID = 1L;

    private byte[] details;

    public BytesEventDetails() {}

    public BytesEventDetails(byte[] xml) {
        details = xml;
    }

    public byte[] getBytes() {
        return details;
    }

    public void setBytes(byte[] xml) {
        details = xml;
    }


    public void clearDetails() {
        details = null;
    }

    public byte[] getValue() {
        return details;
    }

	@Override
	public String toString() {
		return "BytesEventDetails [details=" + Arrays.toString(details) + "]";
	}
    
}